
export const deviceInfoMixin = {
  methods: {
  },
  computed: {
  },
  data() {
    return {
      windowHeight: 0,

    }
  },
  mounted() {
    let _this = this;
    uni.getSystemInfo({ //调用uni-app接口获取屏幕高度
      success(res) { //成功回调函数
        _this.windowHeight = res.windowHeight
      }
    })
  }
}
